package com.tju.resource.business.tb_supplier;

import com.tju.resource.model.TbSupplier;
import com.tju.resource.result.Result;
import com.tju.resource.tool.tool.ClientParameters;

public interface TbSupplierService {
    /*查询*/
    Result<Object> getSupplier(ClientParameters parameters);

    /*添加*/
    Result<Object> addSupplier(TbSupplier tbSupplier);

    /*删除*/
    Result<Object> delSupplier(TbSupplier tbSupplier);

    /*修改*/
    Result<Object> updSupplier(TbSupplier tbSupplier);

    TbSupplier byCode(String supplierCode);
}
